//
//  RemotePlayerFileManager.h
//  Player
//
//  Created by Burn on 2019/7/4.
//  Copyright © 2019 menksoft. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "Macro.h"


NS_ASSUME_NONNULL_BEGIN

@interface RemotePlayerFileManager : NSObject

IMSingletonH

- (NSString *)cachePath;

- (NSString *)tempPath;

- (BOOL)internalCacheFileExists:(NSURL *)url;

- (BOOL)cacheFileExists:(NSURL *)url;

- (BOOL)tempFileExists:(NSURL *)url;

- (NSString *)cacheFilePathWith:(NSURL *)url;

- (NSString *)tempFilePathWith:(NSURL *)url;

- (NSInteger)cacheFileSizeWith:(NSURL *)url;

- (NSInteger)tempFileSizeWith:(NSURL *)url;

- (NSString *)contentTypeWith:(NSURL *)url;

- (void)moveFileWith:(NSURL *)url;

- (void)clearTempWith:(NSURL *)url;
@end


NS_ASSUME_NONNULL_END
